import request from '@/utils/request'

export const getInvoiceList = (data:any, params:any) => {
	return request({
	    url:'/mall/invoicing/title/list',
	    method:'post',
	    data:data,
	    params:params,
		noLoading:data.noLoading,
	})
}

export const setInvoiceAdd = (data:any) => {
	return request({
	    url:'/mall/invoicing/title/add',
	    method:'post',
	    data:data
	})
}

//status:0 禁用，1：启动
export const setInvoiceDel = (data:any) => {
	return request({
	    url:'/mall/invoicing/title/edit',
	    method:'post',
	    data:data
	})
}

export const setInvoiceEdit = (data:any) => {
	return request({
	    url:'/mall/invoicing/title/edit',
	    method:'post',
	    data:data
	})
}